package com.sxbbc.common.core.entity.jz;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * App首页模板表
 * </p>
 *
 * @author leehao
 * @since 2019-05-25
 */
public class AppHomeModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    private String name;

    /**
     * 模板类型，见ModelTypeEnums
     */
    private Integer modelType;

    /**
     * 是否在首页显示 1显示0不显示
     */
    private Integer display;

    /**
     * 模板名
     */
    @TableField(exist = false)
    private String modelName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getModelType() {
        return modelType;
    }

    public void setModelType(Integer modelType) {
        this.modelType = modelType;
    }
    public Integer getDisplay() {
        return display;
    }

    public void setDisplay(Integer display) {
        this.display = display;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    @Override
    public String toString() {
        return "AppHomeModel{" +
        "id=" + id +
        ", name=" + name +
        ", modelType=" + modelType +
        ", display=" + display +
        "}";
    }
}
